package com.jxpanda.spring.module.wechat.component.http.base.request.query;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author Panda
 */
public class CorpQuery {

    @Getter
    @Builder
    @RequiredArgsConstructor
    public static final class GetAccessToken {
        @JsonProperty("corpid")
        private final String corpId;
        @JsonProperty("corpsecret")
        private final String corpSecret;
    }

    @Getter
    @Builder
    @RequiredArgsConstructor
    public static final class SendMessage {
        @JsonProperty("access_token")
        private final String accessToken;
    }

}
